cmake_minimum_required(VERSION 2.6)

set(CAUDIO_SRCS
  cAudioCapture.cpp
  cAudioEffects.cpp
  cAudioManager.cpp
  cAudioMemory.cpp
  cAudioSleep.cpp
  cAudioSource.cpp
  cConsoleLogReceiver.cpp
  cEffect.cpp
  cFileLogReceiver.cpp
  cFileSource.cpp
  cFilter.cpp
  cListener.cpp
  cLogger.cpp
  cMemorySource.cpp
  cMemoryTracker.cpp
  cMutex.cpp
  cOggAudioDecoderFactory.cpp
  cOggDecoder.cpp
  cPluginManager.cpp
  cRawDecoder.cpp
  cStandardMemoryProvider.cpp
  cThread.cpp
  cWavAudioDecoderFactory.cpp
  cWavDecoder.cpp
)

add_library(cAudio SHARED ${CAUDIO_SRCS})
target_link_libraries(cAudio ogg openal vorbis vorbisenc vorbisfile)
